package com.woniuxy.ptapp.infra.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 评价附件表
 * </p>
 *
 * @author wangdong
 * @since 2022-07-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="CommentAttachment对象", description="评价附件表")
public class CommentAttachment implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "评价ID")
    @TableField("commentId")
    private Integer commentid;

    @ApiModelProperty(value = "原文件名")
    @TableField("oldFileName")
    private String oldfilename;

    @ApiModelProperty(value = "现文件名")
    @TableField("fileName")
    private String filename;

    @ApiModelProperty(value = "文件大小")
    private Long size;

    @ApiModelProperty(value = "文件路径")
    @TableField("filePath")
    private String filepath;

    @ApiModelProperty(value = "文件后缀")
    @TableField("fileSuffix")
    private String filesuffix;

    @ApiModelProperty(value = "上传时间")
    @TableField("createDate")
    private String createdate;


}
